package com.shrct.businessprocess.product;

import com.shrct.businessprocess.organization.RCEnterprise;
import com.shrct.businessprocess.product.RCIdentifiableNormalProductEntry;
import com.shrct.businessprocess.purchase.RCPurchaseOrderItem;
import edu.fudan.mylang.pf.IDAOService;

public interface RCIdentifiableNormalProductEntryDAO extends IDAOService<RCIdentifiableNormalProductEntry> {
  /**
   * 普通产品登记。主要用于初始化数据的导入
   */
  public abstract RCIdentifiableNormalProductEntry registerNormalProduct(final String projectId, final RCEnterprise enterprise, final String sid);
  
  public abstract RCIdentifiableNormalProductEntry inStockNormalProduct(final String sid, final RCPurchaseOrderItem orderItem);
  
  public abstract void cancelInStockNormalProduct(final RCIdentifiableNormalProductEntry product);
  
  public abstract void transferNormalPruduct(final RCIdentifiableNormalProductEntry product, final RCEnterprise enterprise);
  
  public abstract void cancelTransferNormalPruduct(final RCIdentifiableNormalProductEntry product);
}
